Printing apparatus configured to display code image without changing color, method of controlling the same, and storage medium

ABSTRACT

A printing apparatus of the present invention has a printer unit, a display unit for displaying a screen, and a setting unit for setting either of a first setting for displaying the screen by standard color information and a second setting for displaying the screen by color information different to the standard color information. If the second setting is set, the color information of the screen displayed by the display unit is changed, and if a code image to be read by an external apparatus is included in the screen displayed by the display unit, the code image is made to not be displayed in a state in which color information of the code image is changed even if the second setting is set.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to a printing apparatus and a method ofcontrolling the same.

Description of the Related Art

In recent years, in devices provided with a camera such as a mobileterminal, many are mounted with a barcode reader function and can obtaininformation from a barcode such as a QR (Quick Response) code(registered trademark). In addition, for an information processingapparatus such as a printing apparatus, apparatuses that can use barcodedata to provide information are increasing. For example, Japanese PatentLaid-Open No. 2008-213294 recites displaying authentication informationfor wireless by a QR code.

In addition, for an information processing apparatus, there are thoseprovided with a function for performing a color reversal on a screensuch as for a console unit and then displaying, as a function forrealizing universal design.

Displaying a barcode after performing a color reversal in an informationprocessing apparatus provided with a barcode display and a function forreversed-color display of a screen as described above is considered. Insuch a case, there is a problem in that, even though a mobile terminalattempts to read the barcode displayed by the information processingapparatus, the mobile terminal cannot correctly recognize the barcodebecause the barcode is subjected to the color reversal.

SUMMARY OF THE INVENTION

An aspect of the present invention is to eliminate the above-mentionedproblem with conventional technology.

A feature of the present invention is to provide a technique to enablean external apparatus to correctly recognize a code image even if aprinting apparatus displays a screen in accordance with colorinformation that is different to standard color information.

According to a first aspect of the present invention, there is provideda printing apparatus, comprising: a printer unit; a display unitconfigured to display a screen; a memory storing a set of instructions;and one or more processors that execute instructions of the set of theinstructions and cause the image processing apparatus to function as: asetting unit configured to set either of a first setting for displayinga screen in accordance with standard color information, and a secondsetting for displaying a screen in accordance with color informationdifferent to the standard color information; and a processing unitconfigured to change color information of a screen and cause the displayunit to display the screen in a case where the second setting is set bythe setting unit, wherein the processing unit does not cause the displayunit to display the code image in a state in which color information ofthe code image is changed if a code image to be read by an externalapparatus is included in the screen displayed by the display unit, evenif the second setting is set by the setting unit.

According to a second aspect of the present invention, there is provideda method of controlling a printing apparatus having a printer unit and adisplay unit configured to display a screen, the method comprising:setting either of a first setting for displaying a screen in accordancewith standard color information, and a second setting for displaying ascreen in accordance with color information different to the standardcolor information; changing color information of a screen and causingthe display unit to display the screen in a case where the secondsetting is set in the setting; and causing the display unit not todisplay the code image in a state in which color information of the codeimage is changed if a code image to be read by an external apparatus isincluded in the screen displayed by the display unit, even if the secondsetting is set in the setting.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of the specification, illustrate embodiments of the invention and,together with the description, serve to explain the principles of theinvention.

FIG. 1 depicts a view illustrating an example of a configuration of asystem according to embodiments of the present invention.

FIG. 2 is a block diagram for describing an example of a hardwareconfiguration of a printing apparatus according to the embodiments.

FIG. 3 is a functional block diagram for explaining a function that theprinting apparatus according to the embodiments has.

FIGS. 4A and 4B depict views respectively illustrating examples of asetting screen displayed in a console unit of a printing apparatusaccording to a first embodiment.

FIGS. 5A and 5B depict views respectively illustrating examples of adisplay screen when the printing apparatus according to the embodimentsuses a QR code to provide authentication information for wirelesscommunication.

FIG. 6 is a flowchart for describing processing when the printingapparatus according to a first embodiment displays a screen in theconsole unit.

FIG. 7 is a flowchart for describing processing when a printingapparatus according to a second embodiment displays a screen in theconsole unit.

FIG. 8 is a flowchart for describing processing when a printingapparatus according to a third embodiment, after configuring a screenfrom screen components, performs color reversal processing on the wholescreen all at once and displays it.

FIG. 9A depicts a view illustrating an example of an image of a screengenerated in the third embodiment.

FIG. 9B depicts a view illustrating an example of displaying the imageof FIG. 9A.

DESCRIPTION OF THE EMBODIMENTS

Embodiments of the present invention will be described hereinafter indetail, with reference to the accompanying drawings. It is to beunderstood that the following embodiments are not intended to limit theclaims of the present invention, and that not all of the combinations ofthe aspects that are described according to the following embodimentsare necessarily required with respect to the means to solve the problemsaccording to the present invention.

FIG. 1 depicts a view illustrating an example of a configuration of asystem according to the embodiments of the present invention.

A printing apparatus 101 has a wireless communication function, and iscapable of network communication with a mobile terminal 102, an accesspoint 103, and a PC 104. Note that the network communication is notlimited to wireless communication, and may be wired communication.

In the present embodiment, explanation is given regarding an example inwhich the printing apparatus 101 uses a QR code to provide the mobileterminal 102 with information for establishing network communicationbetween both devices. Note that information that the printing apparatus101 uses the QR code to provide is not limited to information relatingto a network.

In addition, the printing apparatus 101 has two display modes: a normaldisplay mode for displaying, on a console unit 205 (FIG. 2), a screenwithout reversing standard color information, and a reversed-colordisplay mode for displaying a screen for which color information isreversed. The reversed-color display mode is a mode for reversingdisplay colors of a screen and providing the screen to a user who has anidiosyncrasy with their color vision, and is intended to improvevisibility for such a user.

FIG. 2 is a block diagram for describing an example of a hardwareconfiguration of the printing apparatus 101 according to theembodiments.

A CPU 201 controls all operations of the printing apparatus 101. The CPU201 executes a boot program stored in a ROM 202, deploys a program andan OS stored in a HDD 204 to a RAM 203, and executes the deployedprogram to thereby control operation of the printing apparatus 101. TheRAM 203 is a volatile memory that the CPU 201 uses, for example as awork area for executing various programs. The HDD (hard disk drive) 204stores data corresponding to components (screen components) forconfiguring a screen that includes various control programs, varioussetting information such as an SSID and a wireless authentication key ofthe printing apparatus 101, or a QR code. A console unit 205 has adisplay unit equipped with a touch panel function that a user canoperate, and displays an operation screen in either of the normaldisplay mode or the reversed-color display mode. A printer unit 206prints an image on printing paper (a sheet) in accordance with imagedata transferred via an internal bus. A network I/F (an interface) 207has a NIC (Network Interface Card) for connecting to a network and isequipped with a wireless communication function. Because of this, theprinting apparatus 101 can communicate with an external apparatus suchas the mobile terminal 102 via the network I/F 207. An NFC I/F 208 is achip equipped with an NFC (Near Field Communication) communicationfunction. A Bluetooth (registered trademark) I/F 209 is a chip equippedwith a Bluetooth communication function.

FIG. 3 is a functional block diagram for explaining functions that theprinting apparatus 101 according to the embodiments has. Functions ofthe units illustrated in FIG. 3 are realized by the CPU 201 executing aprogram that is deployed to the RAM 203.

The functions include an operation control module 310, a setting controlmodule 320, an application 330 and a communication control module 340.The operation control module 310 has a display control module 311 and anoperation notification module 312. The display control module 311performs processing to display a screen on the console unit 205. Thedisplay control module 311 also executes processing to display a screenusing screen components, color reversal processing of a screencomponent, and the like. The operation notification module 312 performsinput processing with respect to information inputted via the consoleunit 205.

The setting control module 320 has a setting storage module 321 and asetting obtainment module 322. The setting storage module 321 performsprocessing to save setting data to the HDD 204. The setting obtainmentmodule 322 performs read processing of setting data stored in the ROM202 and the HDD 204.

The application 330 is an application for generating a QR code, forexample. A barcode generation module 331 generates barcode data based onan instruction from the operation control module 310. This generation ofthe barcode data is processed based on setting data obtained from thesetting control module 320 and generated barcode data is stored in theHDD 204 via the setting control module 320.

A communication control module 340 controls the network I/F 207. Aconnection control module 341 performs connection processing with themobile terminal 102 and the access point 103, in accordance with aninstruction from the operation control module 310.

First Embodiment

FIG. 4A depicts a view illustrating an example of a setting screendisplayed on the console unit 205 of the printing apparatus 101according to a first embodiment of the present invention.

FIG. 4A illustrates an example of a setting screen for setting areversed-color display mode for a screen. Via this screen, an operatorcan set either of the normal display mode and the reversed-color displaymode. By this screen, when an operator selects an ON button 401, thereversed-color display mode is set and the printing apparatus 101operates in the reversed-color display mode, and when the operatorselects an OFF button 402, the normal display mode is set and theprinting apparatus 101 operates in the normal display mode. In FIG. 4A,when an OK button 403 is pressed, a setting in this screen is stored tothe HDD 204 as setting information, and when a cancel button 404 ispressed, a setting in this screen is cancelled.

FIG. 5A and FIG. 5B depict views illustrating examples of a displayscreen when the printing apparatus 101 according to the first embodimentuses a QR code to provide authentication information for wirelesscommunication. These screen are both displayed on the console unit 205.

FIG. 5A illustrates an example of a screen displayed on the console unit205 when the printing apparatus 101 is in the normal display mode. FIG.5B illustrates an example of a screen displayed on the console unit 205when the printing apparatus 101 is in the reversed-color display mode.Here, in both display modes, a QR code 501 is displayed without a colorreversal. Note that, in the first embodiment, a QR code is exemplifiedas a code, but a code that the printing apparatus 101 handles is notlimited to the QR code. The first embodiment can be applied to a case ofdisplaying or printing an image that illustrates a code such as abarcode or a QR code, for example.

Note that a screen may be configured by a combination of a plurality ofscreen components. For example, the screen illustrated in FIGS. 5A and5B includes five screen component: the QR code 501, a background 502, atitle 503, network information 504, and a message 505.

Hereinafter, the first embodiment of the present invention will bedescribed. In the first embodiment, explanation is given of an examplein which the CPU 201 functions as the display control module 311 anddisplays a screen at a time of the reversed-color display mode byperforming color reversal processing for each screen component.

FIG. 6 is a flowchart for describing processing when the printingapparatus 101 according to the first embodiment displays a screen in theconsole unit 205. Note that this processing is realized by the CPU 201deploying a program stored in the HDD 204 to the RAM 203 and executingthe deployed program.

Firstly, in step S601 the CPU 201 functions as the operationnotification module 312, and determines whether an event fortransitioning a screen displayed on the console unit 205 to anotherscreen has occurred upon detecting that an operator has operated theconsole unit 205. Upon detecting the occurrence of this event, theprocessing proceeds to step S602, and the CPU 201 functions as thesetting obtainment module 322 and obtains a screen component to bedisplayed by a transition destination screen.

Next, the processing proceeds to step S603, and the CPU 201 determineswhich of the normal display mode and the reversed-color display mode isset. Here the setting information stored in the HDD 204 after being setby the setting screen of FIG. 4A is obtained, and the determination isperformed based on the setting information. If the CPU 201 determines instep S603 that the reversed-color display mode is set, the processingproceeds to step S604, and otherwise, in other words upon determiningthat the normal display mode is set, the processing proceeds to stepS607.

In step S604, the CPU 201 determines whether or not the transitiondestination screen includes a code image such as the QR code. If it isdetermined that it includes a code image such as QR data, the processingproceeds to step S605 and otherwise the processing proceeds to stepS606. In step S605, the CPU 201 functions as the display control module311, and performs a color reversal for screen components other than codeimages. A method for realizing the color reversal is to convert eachvalue that expresses RGB of each pixel of a screen component to a valuefor which a bit reversal has been performed. For example if it is avalue that expresses 256 tones by 8 bits, a value obtained bysubtracting “256” from original data is a value for which a bit reversalhas been performed. Meanwhile, if it is determined that the transitiondestination screen does not include a code image such as the QR code,the processing proceeds to step S606, and the color reversal is executedfor all of the screen components. Note that color reversal processing ofa screen component is executed by the CPU 201 for each screen component.In this way, when processing with respect to the screen components endsin step S605 or step S606, the processing proceeds to step S607, and theCPU 201 functions as the display control module 311, and uses eachscreen component for which the processing has ended to generate thescreen. Then the processing proceeds to step S608, and the CPU 201functions as the display control module 311, displays the screengenerated in step S607 on the console unit 205, and this processingends.

Note that, if the CPU 201 determines the normal display mode in stepS603, the processing proceeds to step S607, and the screen componentsare used to generate the screen without executing color reversalprocessing. In step S608 the CPU 201 then displays the screen for whichthe screen components are not subject to reversed display on the consoleunit 205, and this processing terminates.

Note that, in the first embodiment, explanation was given of an examplein which pixel data represents 256 tones by 8 bits, but as anotherembodiment configuration may be taken use a different algorithm toexecute color reversal. In addition, the color space is not limited toRGB, and may be another color space such as CMYK or HSV.

By the first embodiment as explained above, even if a reversed-colordisplay mode is set, it is possible to display a code image such as theQR code without reversal.

Second Embodiment

Next, a second embodiment of the present invention will be described. Inthe second embodiment, configuration is such that it is possible, if thereversed-color display mode is set, to select whether to display a codeimage such as the QR code without reversal, or to display by reversing,as illustrated in FIG. 4B. Note that a system configuration or aconfiguration of the printing apparatus 101 in according to the secondembodiment is the same as that of the first embodiment previouslydescribed, and thus explanation thereof is omitted.

FIG. 4B illustrates an example of a setting screen for separatelysetting whether to perform a color reversal with respect to a codeimage, according to the second embodiment. If the reversed-color displaymode is set in the screen of FIG. 4A, a screen for setting whether ornot to perform a color reversal of a code image is displayed on theconsole unit 205. If a “YES” button 405 is selected, performing thecolor reversal with respect to the code image is set, and if a “NO”button 406 is selected, displaying without performing the color reversalof the code image is set. In FIG. 4B, similarly to in FIG. 4A, when anOK button 403 is pressed a setting in this screen is stored to the HDD204 as setting information, and when a cancel button 404 is pressed asetting in this screen is cancelled.

FIG. 7 is a flowchart for describing processing when the printingapparatus 101 according to the second embodiment displays a screen onthe console unit 205. Note that this processing is realized by the CPU201 deploying a program stored in the HDD 204 to the RAM 203 andexecuting the deployed program. In FIG. 7, steps in common with theflowchart of FIG. 6 previously described are illustrated with the samereference numeral, and explanation thereof is omitted.

Here, if the reversed-color display mode is set and the transitiondestination screen includes a code image such as the QR code, theprocessing proceeds to step S701. In step S701, the CPU 201 determineswhether or not reversing a code image has been set by the screen of FIG.4B, based on setting information stored in the HDD 204. When performingthe color reversal for the code image is set, the processing proceeds tostep S606, and the color reversal is performed for all screencomponents. Meanwhile, when performing the color reversal for the codeimage is not set, the processing proceeds to step S605, and a colorreversal is performed for screen components other than the code images.

By the second embodiment, similarly to the first embodiment, even if areversed-color display mode is set, it is possible to display a codeimage such as the QR code without reversal.

Third Embodiment

Next, explanation will be given for a third embodiment of the presentinvention. In the third embodiment, explanation is given of a case ofdisplaying a screen in a reversed-color display mode by the displaycontrol module 311 processing a color reversal in one batch for screencomponents of the screen. Note that a system configuration or aconfiguration of the printing apparatus 101 in according to the thirdembodiment is the same as that of the first embodiment previouslydescribed, and thus explanation thereof is omitted.

FIG. 8 is a flowchart for describing processing when the printingapparatus 101 according to the third embodiment, after configuring ascreen from screen components, performs color reversal processing on thewhole screen all at once and displays it. Note that this processing isrealized by the CPU 201 deploying a program stored in the HDD 204 to theRAM 203 and executing the deployed program.

Note that, in FIG. 8, processing for step S801 through step S804 is thesame as step S601 through step S604 of the flowchart of FIG. 6previously described, and thus explanation thereof is omitted.

If the CPU 201 determines in step S804 that the reversed-color displaymode is set and that a transition destination screen includes a codeimage such as the QR code, the processing proceeds to step S805. In stepS805, the CPU 201 substitutes a screen component that is the code imagewith a screen component of the code image that has been subjected to thecolor reversal. The processing then proceeds to step S806 and a screenthat includes the screen component that includes the code image that hasbeen subject to the color reversal is generated.

FIG. 9A depicts a view illustrating an example of an image of a screengenerated in step S806 at this point. Here only a screen component thatis a QR code 901 is displayed with the color reversal, and other screencomponents are displayed without the color reversal. Note that thescreen component of the QR code that has been subjected to the colorreversal may be generated in advance at any timing such as a time of anactivation of the printing apparatus 101.

In this way in step S806, the CPU 201 functions as the display controlmodule 311 to configure a screen by using each screen component, andthen the processing proceeds to step S807. In step S807, the CPU 201,similarly to in step S803, determines whether or not the reversed-colordisplay mode is set, and if so, the processing proceeds to step S808,and processing for the color reversal is collectively executed withrespect to the screen configured in step S806. By this, configuration ofthe screen in the reversed-color display mode completes, and asillustrated in FIG. 9B for example, it is possible to configure thescreen that includes the QR code 902 that has not been subject to thecolor reversal. The processing proceeds to step S809, and the CPU 201functions as the display control module 311 to display the screenconfigured for the normal display mode of the reversed-color displaymode on the display unit of the console unit 205, and this processingends.

By virtue of the third embodiment, it is possible to display a codeimage without the color reversal, even when performing the colorreversal for a whole screen in one batch, by configuring a screen byimage components in which the color reversal is performed for the codeimage in advance as with the QR code 901.

In the third embodiment, similarly to the second embodiment, aconfiguration in which, if the reversed-color display mode is set, it ispossible to select whether or not to display a code image such as the QRcode without reversal or to display by reversing may be provided. Inthis case, the determination process of step S701 of FIG. 7 is includedbetween step S804 and step S805 of the flowchart of FIG. 8.Configuration may be taken such that the processing proceeds to stepS805 when not reversing the code image is set in the screen of FIG. 4B.

Note that, in the first through the third embodiments as describedabove, explanation was given in accordance with a case of displaying ascreen, but it goes without saying that application can be made to acase in which an image that includes a code image is subject to a colorreversal before printing.

Other Embodiments

Embodiments of the present invention can also be realized by a computerof a system or apparatus that reads out and executes computer executableinstructions (e.g., one or more programs) recorded on a storage medium(which may also be referred to more fully as a ‘non-transitorycomputer-readable storage medium’) to perform the functions of one ormore of the above-described embodiments and/or that includes one or morecircuits (e.g., application specific integrated circuit (ASIC)) forperforming the functions of one or more of the above-describedembodiments, and by a method performed by the computer of the system orapparatus by, for example, reading out and executing the computerexecutable instructions from the storage medium to perform the functionsof one or more of the above-described embodiments and/or controlling theone or more circuits to perform the functions of one or more of theabove-described embodiments. The computer may comprise one or moreprocessors (e.g., central processing unit (CPU), micro processing unit(MPU)) and may include a network of separate computers or separateprocessors to read out and execute the computer executable instructions.The computer executable instructions may be provided to the computer,for example, from a network or the storage medium. The storage mediummay include, for example, one or more of a hard disk, a random-accessmemory (RAM), a read only memory (ROM), a storage of distributedcomputing systems, an optical disk (such as a compact disc (CD), digitalversatile disc (DVD), or Blu-Ray Disc (BD)™), a flash memory device, amemory card, and the like.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2016-101937, filed May 20, 2016, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. A printing apparatus, comprising: a printer; adisplay; a memory configured to store instructions; and one or moreprocessors configured to execute the instructions to: set whether or notto perform first processing for changing color information of a screento be displayed on the display; and perform the first processing on thescreen and control the display to display the screen whose colorinformation has been changed by the first processing in a case where thesetting to perform the first processing is set, wherein, in a case wherea code image to be read by an external apparatus is included in thescreen to be displayed on the display, the one or more processors areconfigured to not perform the first processing on the code imageincluded in the screen to be displayed, even if the setting to performthe first processing is set, and control the display to display the codeimage on which the first processing has not been performed.
 2. Theprinting apparatus according to claim 1, wherein the one or moreprocessors are configured to execute further instructions to: if thecode image is included in the screen to be displayed on the display,perform the first processing on a screen component, different from thecode image, included in the screen and control the display to displaythe screen component on which the first processing has been performedand the code image on which the first processing has not been performed.3. The printing apparatus according to claim 1, wherein the one or moreprocessors are configured to execute further instructions to: obtain aplurality of screen components to be displayed on the display, if thesetting to perform the first processing is set, perform the firstprocessing on each of the obtained screen components and control thedisplay to display the screen components on which the first processinghas been performed, and in a case where the code image is included inthe obtained screen components, not perform the first processing on thecode image.
 4. The printing apparatus according to claim 3, wherein thefirst processing includes a color reversal for each screen component. 5.The printing apparatus according to claim 4, wherein the firstprocessing includes a conversion for converting each value thatexpresses RGB of each pixel of the screen component to a value for whicha bit reversal has been performed.
 6. The printing apparatus accordingto claim 1, wherein the code image is an image for the printingapparatus to provide the external apparatus with information forestablishing a network communication between the printing apparatus andthe external apparatus.
 7. The printing apparatus according to claim 1,wherein the code image is an image of a QR code.
 8. The printingapparatus according to claim 1, wherein the first processing changes thecolor information into a reversal of the color information.
 9. A methodof controlling a printing apparatus having a printer and a displayconfigured to display a screen, the method comprising: setting whetheror not to perform first processing for changing color information of ascreen to be displayed on the display; performing the first processingon the screen and controlling the display to display the screen on whichthe first processing has been performed in a case where the setting toperform the first processing is set in the setting; and in a case wherea code image to be read by an external apparatus is included in thescreen to be displayed on the display, not performing the firstprocessing on the code image included in the screen to be displayed,even if the setting to perform the first processing is set, andcontrolling the display to display the code image on which the firstprocessing has not been performed.
 10. The method according to claim 9,further including, if the code image is included in the screen to bedisplayed by the display, controlling the display to display the colorinformation of the code image without changing the color information ofthe code image.
 11. The method according to claim 9, further including:using a plurality of screen components to configure the screen to bedisplayed on the display; if the setting to perform the first processingis set, changing the color information of the screen and controlling thedisplay to display the color information of the configured screen; andif the setting to perform the first processing is set and the code imageis not included in any one of the plurality of screen components,configuring the screen by a state in which the color information of thecode image has been changed.
 12. The method according to claim 11,further including performing a color reversal for each screen component.13. The method according to claim 12, further including converting eachvalue that expresses RGB of each pixel of the screen component to avalue for which a bit reversal has been performed.
 14. The methodaccording to claim 9, wherein the code image is an image for theprinting apparatus to provide the external apparatus with informationfor establishing a network communication between the printing apparatusand the external apparatus.
 15. The method according to claim 9, whereinthe code image is an image of a QR code.
 16. The method according toclaim 9, wherein the first processing includes a reversal of the colorinformation.
 17. A non-transitory computer-readable storage medium thatstores a program for executing a method of controlling a printingapparatus having a printer and a display configured to display a screen,the method comprising: setting whether or not to perform firstprocessing for changing color information of a screen to be displayed onthe display; performing the first processing on the screen andcontrolling the display to display the screen on which the firstprocessing has been performed in a case where the setting to perform thefirst processing is set in the setting; and in a case where a code imageto be read by an external apparatus is included in the screen to bedisplayed on the display, not performing the first processing on thecode image included in the screen to be displayed, even if the settingto perform the first processing is set, and controlling the display todisplay the code image on which the first processing has not beenperformed.
 18. A communication apparatus, comprising: a display; atleast one memory configured to store instructions; and one or moreprocessors configured to execute the instructions to: set whether or notto perform first processing for changing color information of a screento be displayed on the display; and perform the first processing andcontrol the display to display the screen whose color information hasbeen changed by the first processing in a case where the firstprocessing is set to be performed, wherein, in a case where a code imageto be read by an external apparatus is included in the screen to bedisplayed on the display, the one or more processors are configured tonot perform the first processing on the code image included in thescreen to be displayed, even if the first processing is set to beperformed, and control the display to display the code image on whichthe first processing has not been performed.
 19. The communicationapparatus according to claim 18, wherein the code image is an image of aQR code.
 20. The communication apparatus according to claim 19, whereinthe code image is an image for the communication apparatus to providethe external apparatus with information for establishing a networkcommunication to an access point.
 21. A communication apparatus,comprising: a display; at least one memory configured to storeinstructions; and one or more processors configured to execute theinstructions to: set whether or not to perform first processing forchanging color information of a screen to be displayed on the display;in a case where a code image to be read by an external apparatus isincluded in the screen and the first processing is set to be performed,generate a first screen including a color changed code image in whichthe first processing has been performed on the code image and a displayitem on which the first processing has not performed; in a case where acode image to be read by an external apparatus is not included in thescreen, generate a second screen including a display item on which thefirst processing has not been performed and not including a display itemon which the first processing has performed; in a case where the firstprocessing is set to be performed, perform the first processing on thegenerated first or second screen to generate a third screen; and controlthe display to display the third screen whose color information has beenchanged by performing the first processing on the generated first orsecond screen, or display the generated second screen on which the firstprocessing has not been performed.
 22. The communication apparatusaccording to claim 21, wherein the code image is an image of a QR code.23. The communication apparatus according to claim 21, wherein the codeimage is an image for the communication apparatus to provide theexternal apparatus with information for establishing a networkcommunication to an access point.
 24. The communication apparatusaccording to claim 21, wherein the communication apparatus is a printerhaving a printing device.